<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>键鼠监听器</title>
  <style>
    body {
      width: 400px;
      font-family: 'Segoe UI', sans-serif;
      padding: 10px;
      margin: 0;
      background: #f9f9f9;
    }
    .event {
      background: white;
      border-left: 4px solid #3498db;
      padding: 8px 12px;
      margin-bottom: 8px;
      border-radius: 4px;
      font-size: 13px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    .type { font-weight: bold; color: #2c3e50; }
    .time { color: #7f8c8d; font-size: 11px; }
    pre {
      margin: 8px 0 0 0;
      padding: 6px;
      background: #eee;
      border-radius: 3px;
      font-size: 12px;
      white-space: pre-wrap;
    }
    .empty {
      text-align: center;
      color: #999;
      padding: 20px;
    }
  </style>
</head>
<body>
  <div id="events">正在等待事件...</div>

  <script src="popup.js"></script>
</body>
</html> 